import ProFormInput from "./ProFormInput";
import ProFormSelect from './ProFormSelect';
import ProFormCheckbox from "./ProFormCheckbox";
import ProFormRadio from "./ProFormRadio";
import ProFormTextarea from "./ProFormTextarea";
import ProTable from "./ProTable";
import ProForm from "./ProForm";
import ProFormSelectTree from "./ProFormSelectTree";
import ProFormDatepicker from "./ProFormDatepicker";
import ProModal from './ProModal';
import ProButton from "./ProButton";
import ProCard from "./ProCard";
import ProDescription from "./ProDescription";
import ProTabs from "./ProTabs";
import PageContainer from './PageContainer'
import { App } from "vue";

const components = [
    ProFormInput,
    ProFormSelect,
    ProFormCheckbox,
    ProFormRadio,
    ProFormTextarea,
    ProFormDatepicker,
    ProTable,
    ProForm,
    ProFormSelectTree,
    ProModal,
    ProButton,
    ProCard,
    ProDescription,
    ProTabs,
    PageContainer
]

export default {
    install(app: App) {
        components.map(item => {
            app.use(item);
        })
    }
}
